#!/bin/bash
set -eu

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework-without-repo

setupenvironment

buildpackage 'simple-package'
buildpackage 'conflicting-package-one'

testpkgnotinstalled 'simple-package' 'conflicting-package-one'
aptgetinstallpackage 'simple-package'
testpkginstalled 'simple-package'
testpkgnotinstalled 'conflicting-package-one'
aptgetinstallpackage 'conflicting-package-one'
testpkginstalled 'simple-package' 'conflicting-package-one'
